/* ProfilePage.css */
.profile-container {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.profile-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.profile-card {
    width: 100%;
    max-width: 600px;
}

.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.avatar-hint {
    color: #888;
    font-size: 12px;
    margin-top: 8px;
}

.profile-form .ant-form-item-label {
    font-weight: bold;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.logout-btn {
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    color: #555;
}

.logout-btn:hover {
    background-color: #e6f7ff;
    border-color: #91d5ff;
    color: #1890ff;
}

.change-password-btn {
    background-color: #52c41a;
    border-color: #52c41a;
    color: white;
}

.change-password-btn:hover {
    background-color: #73d13d;
    border-color: #73d13d;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    gap: 8px; /* 添加按钮间距 */
}

/* 调整按钮宽度 */
.action-buttons > button {
    flex: 1;
}